🔨 build(tooling): 固化 SparkBot 默认硬件测试环境 - #347
Closed
ZhaoXingPeng wants to merge 1 commit into
Closed
Conversation
当前脚本只会尝试不存在的 ~/esp/esp-idf,导致构建和应用分区烧录每次都需要手工寻找 ESP-IDF 环境。\n\n增加 IDF_PATH、ESP-IDF 6.0.2 和兼容旧路径的有序探测,显式无效路径直接拒绝;同时记录串口、esptool、百炼和 Python 测试工具版本。\n\n默认 Python 依赖、Provisioning 命令生成、Python 单测与 Ruff 已验证。\n\nRefs 1024XEngineer#346
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
4 tasks
Collaborator
Author
关闭说明决定不合并此 PR。实际仓库不需要把本地烧录、Python 依赖和硬件测试环境固化为仓库交付内容;后续验收以线上环境测试和实板运行结果为准。 因此 #347 关闭且不合并,当前分支改动不作为主干基线。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
这项改动把 SparkBot 的构建、应用分区烧录和硬件测试依赖固定为本机可复现的默认环境。请审核后合并。
Refs #346
Lifecycle
Closed without merge。实际仓库不需要把本地烧录、Python 依赖和硬件测试环境固化为仓库交付内容;后续验收以线上环境测试和实板运行结果为准。
Scope
--idf-dir无效时立即拒绝,避免落到不存在的环境。Non-goals
Verification
serial、esptool、dashscope、websockets、pytest、ruff。idf.py --version、python -m esptool version通过。python3 -m pytest -q tests/python:190 passed,1 skipped。ruff check scripts tests/python:通过。Risks and closeout
该实现不进入主干;线上环境和实板测试记录作为后续验收依据。
AI assistance